<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ChildForums.ascx.cs" Inherits="forums_controls_administration_ChildForums" %>
<asp:GridView runat="server" ID="gridChildren" Width="100%" AutoGenerateColumns="False" ShowHeader="False">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:LinkButton runat="server" ID="lnkChild"
                    Text='<%# Server.HtmlEncode(Eval("Name").ToString()) %>'
                    CommandArgument='<%# Eval("ID") %>'
                    OnCommand="NewForumSelected" />
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <EmptyDataTemplate>
        No subforums.
    </EmptyDataTemplate>
</asp:GridView>